package com.tlw.practice.tlw.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tlw.practice.tlw.annotation.annotations;
import com.tlw.practice.tlw.common.ResultCode;
import lombok.Data;
import lombok.NonNull;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@Data
public class UserDto {
    private String id;
    private String username;
    private String nickname;
    private Date createTime;
    private String department;
    private String local;
    private String memberType;      // 1 正式， 2.实习 3.试用
    private Date officialEntryTime; //  入职时间
    private String position;        // 职位
    private Date birthDay;          // 生日
    private Date graduationOfTime;  // 毕业时间
    ResultCode resultCode;
    private String role;            // 角色
}
